SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30eef2112bb56a1565aa6cc1b51217b6be27d82d0378635f501b5cbce2aa139f' 
  AND token = 'g2FfxG0mE3ZCbC07fcHDBgrSsOhQQskCq8cIui2GnDM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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