SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'def7fbbe6c953d21a96570c9385bb3cc02a4a40c2b6a18e1fbde4924abda9701' 
  AND token = 'i9QzDjDvtWYMoqbJNY2YS7C8th/7a7Wb77PJxvrvgDA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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