SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a42f0ba498cc24f9bc7ceb61c189ea1d15b8ba26acb291a40b825734fe817bc4' 
  AND token = 'QrZQjNwylr5Rua5qne8TO6+x0b995jZVI9eVMtR16bo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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