SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dda47e5aa520df07f222c1c57285d4004fc3cc5119679e1703fc01145568e315' 
  AND token = 'DGfP1WkEhecciH+W+ZCTRP3FBK/RxsLD9nB5uJtbOEk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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