SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '471b092b5798cdb8564c68e407bd54c2a047dbdcb6904160a663f463827f5eb2' 
  AND token = 'QK0HkJOkfsClXkUM10UlgI+FesLe7xpVaxKVrWhYLhs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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