SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6e1c8e9526ed4528a9c150219ed321fc0363ef9726060d58d263f2ddd38f6ab2' 
  AND token = 'cYqOEElweEhIy8ZykvivcylzZG+cgE9C16RzseubJIw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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