SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1ba39ee397d6a597e38f90f4004a1406d4d14b7e583774cae5056946be81d4f' 
  AND token = 'N4TpxvD79/wgJRpdXod2Ch3b8QE3I2mVdnUwZb5AOko=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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