SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '840e426a2a42c586aa45e763be542d4e3bbb857a748fd574bc52c6e21b4a056e' 
  AND token = 'RtqYj5Rjuo+nmBz0wc3y/cNyXwRMDKeKErdG+c3yF1E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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