SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '571023b06fb5a02afa997f0df9a1321d9278d44975bf7669ba7125ec3392e1cb' 
  AND token = 'yaXG6jS7aHBP11n5Hmvs9D6YXnJU3eTMbOt91h8Kxbs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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