SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f40cbf8108d70f060327e24ac24b280783926e34345854184e6016ced631e5f' 
  AND token = 'DKD5LUxkJsQIhDCNKABaoL7l6SmllUYmwKMzkew6ukI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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