SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '950c7894ece8cc2b92d588916cd28863990567ed596d250c2bbfefc2d27a1e53' 
  AND token = 'nZYXW6pULLf9Uvd1endAhC0vDOXcCw8DmoKjSzrrC+8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}