SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58a780d0d2ff00b5087194542d996cc6bfe0c1d07039f74ffe9a0252bff9aff5' 
  AND token = 'y3ZEyMBsimrOugV+GBrSRl84DmHt1yZoXoGEGK32tuo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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