SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0948589c9530eb929e6b6d1160dbf0c46086aa99d4ed432049c5e55c1e1ea254' 
  AND token = 'hH2CPc4qixEwnciq47m89BJFXXTYZTmrKFvZKSb/3jY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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