SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a398f4179f1fff2e810caf7fb39feb6f707cc87dfb8b681f82fd14f3f0c19f9' 
  AND token = 'XsIlNBQfzKVhm1OwXtPi3daTOEX59AvKRCDRsarng8k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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