SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'def5dc762c20b9d0e39c90d32ae0fcdd56afd187d7c62c0a498d5bc3c0102b50' 
  AND token = 'fWbkT8aWVuQ/sEwnPyKhLiHik7MsUlSJXgpGQLaoWY0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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