SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '52a024168a96f08f87fff721f4f4525680b54d98015a4007416311d60511e2df' 
  AND token = 'uuDOjMZ3GwPm+xVQdjStK/Mtiz1g1ryQHL9X6y2XIAk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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