SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21ed7ead46e6384a896efb3a2273eb23bee1cf68609d1c25a2c07d6c1a15160c' 
  AND token = 'vFTn+7WYeXeoluuRWxtZC8WJRtmYKg7W6A3P3ERm7Zw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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