SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b6c3164a50d78e3e712164dea1eb9e7e0708c131d89517c4f6ddf43ca54da9c0' 
  AND token = 'oyLRJ00aYETRJYLIOPBFH9eKkcyrHa0lQJZCcKjlMiY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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