SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '648578305e1a68f4a74d16855316f9e077f2acc0982351b9f7329626b73aea5d' 
  AND token = 'g6j9TGazWI/l2zY6JecOkbfKsSwQ+x3dpllysYlEb3s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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