SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ed77c08df894a34debfb33810ad339c0240aac6a34a04b5146a0ea5fd744896' 
  AND token = '7ys+hJ+lRH690as8k7mPHqmfGmjHi6YrY7pfhxV3aX8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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