SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eb9b70ce6dcc6800eeb9421da10ef3f7ed7921706bfba33d09f2cdbeb492117b' 
  AND token = 'DevXeO/foTFdKy6Hic6FwmZ1QJ/ou/n0OnNVsv7ZUlc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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