SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cba773fd645eb2319cf66dd8150a8049233d2becda7ed47bbd132af4d3e16fa7' 
  AND token = 'uFaryhsZ3ngXXlUJIHGH1apFTwEqTb+X98EahNhrUYw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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