SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cb29f15f1227540e9e44f989390006fc33aa74308e1bfca752b1b6565db522df' 
  AND token = '38ed8WrwV59tGQ1Bexn5ErI7mvVUpXHRdFni+2VoHyg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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