SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7e17995ecba9d8d0c9ea7ccf51d31b9bcf64ef9aaee7b01b9f2ad42ec672fac' 
  AND token = 'a8fR/J3Bi/y8KWW04d7+J5Xl29Lu6m8Sz6SztksoGkA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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