SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a34ff2c43fe805555cd620a208717273efa9bac60a886b5e6dd715a97e638bd9' 
  AND token = 'KaMMJbBSV+U0XCNdyG+HaJX1UAAYrPaEcaq0qIoY4ps=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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