SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a7c3625cf0a31b53e0868ef9c5c0838b7972be4965594275178fa5480b91f1bd' 
  AND token = 'nCzNTzD29j2toscHAwlSwVQxtzNp3to+WfMRD02jX5o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}