SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c62c256e40bd6bf3496e852b71294253bace976008abc5acb8acca85dd885097' 
  AND token = '6l6n2D9wq9AcQ5utn5omxOBp6ehYqi9YBipESbf3qYo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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