SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f097f024b3778d28364610107be793db4b6beb6d3670b1199b50fd2636926c2c' 
  AND token = 'fG8OKStTdX71Px4++jgQTW5lQ0hb2nVMY2YeTXin+V8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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