SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3f0685d625eb190d090a27ad8c18596da37f9ab134d3c758ec86071da2bc9be8' 
  AND token = 'UYedG7AwVdFvBIEwPUvWO9syRJjaaPoUswlx3qIstc4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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