SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27f19455a61e1221a0bfdea4ac50d67cc7a5c0f39a59ec9dbe81d4ae19cb2364' 
  AND token = 'pz06SQNQZMnYDp6ER8QlRZ/NyvxN5avAJlxHxWaXX8k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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