SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e1cd727ee4c7e580d18babd754e4c89617bfce7885e23714e918e4bd5b62972d' 
  AND token = '8viIE/EAmf08t4Ltij3vfdif8Z9HBbU55mvLlS1U0hk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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