SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '512e7c0e828a01c5f7a97e1a0bc4a2c5f483e39daf029ed82a9c656c46695b61' 
  AND token = 'i5gzU+KiwOcJwnm8tAT/nVBUh61b89G9r6p1cKoorsE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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