SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e23463ad2fc93ff6d5472750ad5c861d5a00a2dce3e081ff253fa47106b7b3e' 
  AND token = 'vmEfyoVOpOMcH54cpNKSks9k+rfTxLVEpcDkem4flHA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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